package com.xthink.common.pojo.iPackage;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName("tb_custompackage_history")
public class CustomPackageHistory {
    /*
    * 套餐历史单价id
    * */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    /*
    * 套餐ID
    * */
    @TableField("package_id")
    private Integer packageId;

    /*
    * 套餐名称
    * */
    @TableField("package_name")
    private String packageName;

    /*
    * 售卖名称
    * */
    @TableField("sales_name")
    private String salesName;

    /*
    * 套餐类型
    * */
    @TableField("package_type")
    private Integer packageType;

    /*
    * 套餐大小
    * */
    @TableField("package_size")
    private Double packageSize;


    /*
    * 套餐单价
    * */
    @TableField("price")
    private Double price;

    /*
     * 更新时间，字段自动填充内容
     * */
    @TableField(value = "update_time",fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
}
